Got the rectangle class working as a class

Added delta functions and some crap logic