added support for pheno transform gradient and edm with transform, ref #45