Added a license header
Fixed the averaging scheme of covariance
Refactored SessionStore to support diagnostics
Updated to reflect recent changes
Merge pull request #150 from myui/refactor-mix

Refactor mix