Added gamma ramp functions