Update vertexSolver.py

Fixed Arithmitic error