Mathematics of Medical Imaging