Testing a simulation method that uses polynomial interpolation