Update ConvertToC.m

AModified P matrix variable name