Fixed the transformation equation to not derp

Signed-off-by: Andoni Aguirrezabal <aaguirrezabal@live.com>