Reviewed DAO. Fixed bugs in insert and query. Query new returns set of
grids from one simulation only. Lots of stuff.