Updated NBS and Fixed a bug in gretna_sw_batch_analysis.m