fix nanmask for pandas
enhance GSW vectorization (fixes #3)