Find the index of the first nonzero value in a vector
position_finder(vec)
vec
A binary vector
Position of the first nonzero value in a vector.