added center of mass to SS variables