Update legendre_vector_space.py

fix in the number of dof for Legendre space