alphagen function

Matrix of alpha terms