Calculation of the magnetization and total energy of vanadium as a function of lattice parameter