THE HOMOLOGICAL DETERMINANT OF QUANTUM GROUPS OF TYPE A