I destroyed my master cylinder doing a smsp trackday about 15 years ago. I fitted new pads, rotors, fluid, stainless lines, more fluid, rebuilt master cylinder, more fluid, sleeved and rebuilt master cylinder and even more fluid and in the end it was the master cylinder all along that was giving a soft pedal. Ordered a new 1 from Japan and brakes felt great again.