Performance Study and Optimization of an MRI Motion-Compensated Reconstruction Program