I'll bet you have air in the master cyl. Did you bleed the new master cylinder? Start out by bleeding that first.. I like to crack the lines and have a helper slowly push the pedal to the floor once,,then tighten the lines and keep repeating. I've seen where a line blows out and it takes a while before you see the leak...you still could have a line or a rear wheel cylinder leaking