Try re-bleeding the brakes. It takes about 6-8 tries to get it right.
Do them in a rotation until they feel ok:
PR
DR
PF
DF
D= drivers
P= passengers
R= rear
F= front
If this does not resolve the issue, then get your self a haynes manual at discount & test the master cylinder according to the manual & replace it accordingly etc..