Implementing up functions for meanfield
Merge branch 'hw3' of https://github.com/david-ryan-snyder/mlcd into hw3