mvc calculator