Added basic calibration mechanism for xy axes. Some clean ups in the code will be needed to prevent duplicate data storage.