minor changes to all files, added save of the aperture function image, fixed some coordinate issues