Used loadtxt instead of custom csv reader