Fixed chi_to_gauss vectorial version