sped up render - added AccMovement to Ships
add 3D vector math functions - speed up contains_vertex_of

- added functions:
   * dot product
   * length
   * unit
   * An.rotate for rotation without intermediate matrix

- contains_vertex_of now does not call set_matrix_position
  and instead enters it directly
fix deceleration - refactor accelerated movement