amending det to work with complex and adding unit test
adding unit test for normest rank trace and vecnorm