Adding isFinite to vectors