Question #1: did you buy a disc/drum master cylinder OR did you buy a drum/drum master cylinder? Discs dont like drum master cylinders.

Question #2: Did you bench bleed the master cylinder?...this means that you bled the cylinder before the tubes were hooked to it....preferably on the bench so you dont get juice on your car.