Vial forming machine