takePicture added (for taking calibration images)