Holographic dark matter and dark energy with second order invariants | Synapse