Principles of MRI and Functional MRI