Added Rectangle functionality

Added the ability to calculate the aspect ratio and center position, as
well as centering to a point, and fitting inside/outside another
rectangle