Update normalizeFlow.m