completed writing integ function, seg fault in get_rv.pro as lNrPix = 1, need to start debuggin; remained to flug functions for reading ggrid files & make sense of it