[hypo71] Merged latest version from IPGP, fixed issue with phase weights...

... and added option to change fix depth behaviour