Went with Lagrange interpolation instead because that seemed easier. Co-authored-by: Smaug123 <patrick+github@patrickstevens.co.uk> Reviewed-on: #10
Co-authored-by: Smaug123 <patrick+github@patrickstevens.co.uk> Reviewed-on: #4