implemented and integrated determinant