Add first cut of EOD calculation

first milestone!
Merge branch 'master' of https://github.com/oukou77/LiuWangBro