Cleaned up code and started adding documentation
Merge pull request #15 from howland/alpha

Cleaned up code and started adding documentation