moved from arrays to vectors. Messed my math up and now shits reversed