added setter for logdet and solve methods
added missing parameters to constructor