removed u.bug
reset node.transitioned when setting transtion none
updated var naming and improved grid calculations