Fixed keyboard issues and modified UISegmentedControl behavior. Also added pow and module operations to Calculator