The MatLab Photometry Reduction Toolkit