Added weighting options to radial_profile and gauss_model.