Added menu state selector
added finiteDifference
added finiteDifference 2