formated new code; fixed bug in determinant; added links to TODOs