Modify create_similar_zero_vector helper function

Details:
 - Length of the zero vector is now optional and defaults to the length of other_vector