Did you bench bleed the new master cylinder before installation , if its new ?
Are the valves installed correctly ,meaning is the flow the right way?
You could try the vaccume pump type beeding ,if pedal pressure for bleeding is a issue.