function signed_int = int_signer(int_in)
%creates a signed 16 bit integer
signed_int = int_in - 65536*(int_in > 32767);