Added solve and logdet methods to FactoredPSDMatrix class