Added gps; changed MINCHECK and MAXCHECK; modified code to fix transmitter