added calibration

added calibration table and respective functions
next : UI