Did you bleed the master cylinder before installing it on the car? Or at least before you connected the brake lines? If not you will have a hard time bleeding.