Updated mpc.c according to the latest refactoring of headers.