fixed combinatorial test_work to work with changes to api
doc changes a fix for no level variable in netcdf output.
fixed bug in weights where the empty array contained nan values after division. changed to masked array to fix.