Fixed Reversing of order of vectors

The order the vectors were written and read in got reversed, just put them in the same order.