many constants for calculating voltages, etc. are now calculated at the beginning of runtime for convenience.