Finished MPC and did minor corrections in prbs