Update vertexSolver.py

Fixed arithmetic error