Adapted for CFHTLens images zeropoint keyword, fixed bug in sign of calibration