Added initial code for utilizing cw equations found in prussing. Needs testing.