Updated imu.c

Refactored imu_main() into imu_parse_frame() and imu_receive_frame()
Added comments in imu_parse_frame() and imu_receive_frame()
Renamed usart_init to imu_usart_init()