added impliedValues funciton. Needs tests and examples