added Tsd implementation for 2D data
fixed bug in UVCcam class (flat copy)