weights and thresholds are trained now