Updated readData.R and fixed bug w/delta and gamma