Modified detector in inelasticValidation to cover a better range in angles