So, my new blog post is finally up. And it is long. Like 2900 words long. So read if if you like and feed me the backs.
http://wp.me/p5oEb0-i
http://wp.me/p5oEb0-i

I sense something exactly like this had gone on with you. It's good to hear you're starting to put all the negative of that experience to positive use, because there definitely is positive use. As they say, the real failure isn't in the trying (and not necessarily succeeding) -- it's in the giving up and no longer trying.
Oddly enough, your employer shares a lot of the blame in this. While they were cool to bring you in, it was a failure on their part to position you for a role that you were insufficiently screened for. You had a role too, but as someone who has hired and fired hundreds of people over the years, the role of your employer in this is pretty glaring. That said, on the upside it seems they did some real good here: they recognized you enough as a raw quality employee, but realized they probably miscast you in the wrong role. That's a good sign for both you and them.
Good luck on the next steps, Dhee.

