Dark matter and Dark energy calculations