Refactored to be more general.
Merge branch 'master' of github.com:joelfrederico/ButterflyEmittancePython