Added KGERS original with unit tests.