Problem e): diff_vec scalar to vector