fixing histogram recomputation, not calculating the feature response if flipping flaf is not set