regularizegradient has been implemented