Working on my own wedge-calib code