nLPC calculation issue fix