merged Determinants by introducing a base class. Constructors and functions yet to be merged.