Bayesian inference on Brain-Computer Interface using the GLASS Model