correctly uses the rotation of the shape in calculating the body matrix; changed default membership function from linear to cubic; added parameter option for debug drawing in getMembership method