fixed bugin griding (defined a class instead of loos functions)
adding multip to griding
fixed bug with 0 degree problem
parially fixed bug in cpp program. Finalized griding.py