Function fitBMA

Defines function. Seems to work well. Now have to figure out print method.
Merge branch 'master' of https://github.com/carlson9/Midterm