firstNA function

Position of first NA