Input validation added to function bls_pulse_vec