Create main_NB.m