The characterisation and simulation of 3D vision sensors for measurement optimisation