Update centerofmass.m

Just a small change in file input, nothing major