adding individual functions for calculating state variable points as it
was getting too complex for generic functions. not quite done yet, but
nearly...