changed the comments in RectModel and erased unnecessary code