Fixed massCenter and massCenterW

massCenter and massCenterW used GetMassCenter on the ent itself instead
of its phys object.
Also added a validity check to the retrieved phys objects.
Merge pull request #66 from wraith321/ents

Fixed massCenter and massCenterW