update readme, fix headway calculation

headways were not necessarily being calculated based on nearest train