Optimization in MRI Experiment Design and Image Reconstruction