bug fixes and added starting value variable to track starter value in equation bar