Safety Factor Profile Control in a Tokamak