minor bugs in non linear transformations