small edits made to calibAxis, this is the final code except for maybe some more commenting