Doing trigonometric calculations with floating point numbers can introduce small inaccuracies. This meant that we would sometimes incorrectly generate a 3d rather than 2d matrix for the resolved value of `transform`. Gains us 3 WPT tests.