Thanks anyway for the help.
I'm using vector right now 'coz that's what we're told to use.
Anyways, I found the problem out. A vector can't work with primitives, just like ArrayLists. I had to wrap the double up before appending it to the vector.
vector[0].addElement(new Double(st.nval));
I'm having more problems now that I've finished compiling and am actually running the program, but that's for another thread.
