added class that returns the center of mass of a person in an image