First you declare a double array of size 1.
double[] convert = new double[1];
Then you try to call that array convert[a] where a could be from 0 to 2999, as soon as a > 0 it is out of bounds.
stored[a][j]= convert[a]; // a > 0 ? if yes then out of bounds
There is your error. My guess is it should be:
stored[a][j]= convert[j];