MSB CUP: set sigma new while calculating nbh
fixed some errors in bit flags
use better name for macro which checks if sigma old or new are non-zero
MSB CUP bug fixes