Brake Pedal goes to floor and car won't stop, WHY?

The master cylinder is not causing the ebrake not to work. The ebrake is a completely separate system from the service brakes by design, so that if the service brakes fail completely they won’t fail the emergency brake as well. I suspect your ebrake is out of adjustment. That’s something that should be fixed when the car is in for the MC change (and I do agree with everyone above that you need to replace your master cylinder).