You aren't a moron. Look at it this way, you made a mistake, now you are stronger than most people. A woman, especially in this society of fear in which the news creates an image that all men are rapists with their dicks in their hands, ready to plow any innocent woman or child to death with their manly prowess, well, let's just say it's not expected of a woman, unless she's super close to you, to sleep with you. Even then, I'd think she'd want to sleep in another room. She slept in your bed you say? That's a bold move. I think she liked you. Women shoot themselves in the foot alot. They like to set boundaries and close doors before anything happens, probably because they fear you are like their ex's, or they are scared of commitment, or they have deep insecurities (which is true for 90 per-cent of women). When they find you to be a warmer soul, they will try to take things further- to no avail, as you being a literal and no-bs man, would have moved on and established the fact that you are just friends.
In my personal opinion, men and women cannot be platonic friends unless they knew each other to the point where the boundary between friendship/family is blurred. They can be friendLY, sure. But as in a hang-out every day thing? Someone is always going to be looking for sexual escalation, and that deals a huge amount of emotional pain to that party. A man who makes himself available for a platonic friendship, literally had his balls cut off. There will be no sexual attraction on the female side. If a woman says "lets be friends"- take it as "lets be friendly acquantances, saying hi and bye, and if time calls, asking how things are going", or "let's ignore each other until I mature".
I had a similar experience, a girl who didn't like me when I asked her out. Couple years later, I went to a party with her and took her out afterwards to see a film. During the quieter part of the film, she asked me if I was single, and tried to make a move on me. I saw this as awkward because though I still liked her to a degree, I thought she was crossing the boundaries SHE herself had set. So, I missed the opportunity. But it's far better to learn.
With all the girl "friends" I have, I've kept my options open- in that regard meaning, I never got too close to them. And it's worked positively. I've had these same friends give me all sorts of sexually-charged vibes. Cause I never became a girlfriend to them. You should adopt this policy too. Never become that cuddly teddy bear that answers all her phone calls on a whim.
Remember this too, women's words are as flimsy as paper in a gust. She can deny that she wanted to escalate with you, because she'll feel on the spot and awkward. But deep down inside, you, I, all the men here, and most women agree that a woman won't sleep with you unless she feels some sort of deeper attraction.