Y by dynamic measurement #done

and a slight update of mean_transformtion.