Erased functions from PV.pde that I did not use