Finishing the implementation of logdet
Fixing a couple of bugs where I used Set() improperly. Also committing an extensive unti tests for Elemental Adaptor