Can't vectorise custom distribution

Thanks. That has fixed it.