Removed part of the redundant variables in paramsSensor and the sampling of the image plane is now adjustable in mainWFS.