Constructs vector from the float inputs. Size of vector is determined by the highest non NAN element.