Improved handling of std coefs

Resolved issues with calculation of standardized coefficients based on
variable classes