fixed a bug in Vector2D for subtract().  various other fixes