Mean Field Theory For A Q State Potts Model