Improve the management of numpy array
Corrige error in alpha and beta method