Adding a first implementation of the Zscale algorithm