Change fdEdX from 2d array to vector of vectors