Ok well you say you changed the master cylinder right? First thing you need to bench bleed the master cylinder. Then you need to bleed the brakes by starting from the farthest point of the mc which is the right rear brake.
Looks like you skipped the bench bleeding part. If not then let us know that too.