updated calculator layout
took brians code