Wrap all the base recalculation routines in a method
Add vim defaults