Fixed A Load of Geometry Bugs

IntersectMasses now works with core + perimeter.