A bit of const-correctness, moved one function to more appropriate place, and implemented binary +/- for vectors.