paracel_load_as_matrix refactor, tested. fix memory problem