Fixed function calls to gauss*