scientific anatomy flowchart explaining dreams