added factories and controller for calc widget
added factories and controller for calc widget

jfritz4 and hianant2
-added factories and controller functions for calc widget

bschaab/Homepage,bschaab/Homepage,bschaab/Homepage