Real-time Artifact Rejection in Neurofeedback