Optical and radio calibration of the repealite based indoor positioning system