Calculator functionality and layout updated.