Millions of years ago, no human was "cold and calculating" for the simple reason that "reason" hadn't appeared by then. There was no structure in the brain to support ratiocination. We were governed, like all the other animals, by instinct. This picture that religion was "constructed" by slightly-cleverer "priest/rulers" to control the slightly-dimmer populace is a meme that has no basis in evolution or history. It makes a nice story, so some people believe it.
You could read some Jung to get a better description than I can give.
And regarding "religion is just a meme-virus" if by "meme virus" you mean any self-replicating structure that lives in our minds, then effectively ALL of our knowledge falls into this category. I'm a scientist, and I have not checked that Newton or Einstein were right in their work, I accept it because other people (my teachers) told me it was right. Indoctrination? It could also be called learning.
Religion and science express essentially the same attitude towards the world: explore and learn. Except that science explores reproducible phenomena while religion explores your life over its entirety including your death.
The difference comes in whether your experiments (daily life) agree with what your teachers told you: if they don't, and you trust your experiments, you question the teacher and maybe learn something new about the world. Rejecting the teacher is good too if it disagrees with your experiments.
Blindly accepting teachers in both religion and science is prejudice and wrong in both cases.