Adding sanity-checking to parameters, and forcing to floating point
so problems don't crop up unexpectedly wth later calculations.
Authored by: lloydwood 2024-09-21
Parent: [r233]
Child: [r235]