move gaussian_vector func to utils
add dump function
fix test functions
add metric system
add split function