Added rectangle object to math directory.