added is_zero_vector method, test and example