Add generalized paganin method as a new phase retrieval algorithm for the direct contrast regime

2 jobs for master in 1 minute and 48 seconds