Removed figures from orginal code + added Java events to imCalibrateStimulus.m