fixed determinant border bug; fixed enter key