C version of Polymers Self Consistent Field.