Update vec.py

added from_coords classmethod