Found an error in sersic profile fucntion grr...