added superb documentation and copyDepth parameter to rectangularPixelFlow