Added a gridpoint class and removed the R,V and F matrices from the code.