TWISTED DETERMINANTS ON HIGHER GENUS RIEMANN SURFACES