Automatic Extrinsic Calibration and Workspace Mapping: Algorithms to Shorten the Setup time of Camera-guided Industrial Robots