Added cartesian transformation