Fixed seg fault in equipotential lines code.