1. fix getGate error. close #12
2. clean up warpSetGS function
3. optimize warpSetNCDF by partial writing to cdf
4. fix a bug in warpSetNCDF
deprecate 'skipgates,skipdims' with 'populations, dims'