added normalBC.m