mathlib vector2: Float constants changed to double

Changed float constants like 0.f or 1.f to 0.0 or 1.0, hence switching
from float to double, in order to avoid conversion to double at runtime.

Added a function to get a null vector (0.0 ; 0.0).