Improvement of Vibration and End-to-End Latency for Optical Motion Detection System in Magnetic Resonance Imaging