Cleaned up and finished rect.h/inl