Hopefully final algorithm library commit with major changes.
Has included test runs.
Merge branch 'master' of http://github.com/SilentAkuma/Team-Sunshine