Now generates vector b