Fixed bug in grid (now returning vector if grid is 3d), fixed haz curve so that it will work, added test to hazprob for change to grid