added reading of csv files; made result verification more strict to catch subtle rounding errors