turner/ minor changes

length renamed to height
removed code which is no longer necessary and is just getting in the way and confusing things
cleaned up the comments