stable-rotations and vec

translated cubie and puzzle position to vector.
updated translation fuctions of puzzle and cubies