Declare sin & cos as readonly so they match the code in SelectionDAGBuild