Fixed some issues with the cm^3 code. Cleaned code up