The real question is
"how could I be popular, do not feel alone and find a better job".
Ok, you seem to be ostracised and burnt... First of all you need to ask yourself why.
1-Are you too much stupid? take some classes after work, read books, improve your skills, learn, work hard.
2-Are you too much smart? Are you of the honest and direct type? Nothing bad with this. Some people will tell you that you are cocky, or negative just for hiding the fact that they are afraid by you. Sometimes is hard to be intelligent.
3-Are you being misunderstood?. They see you as strange or booring?. Maybe you need to improve on this (yes I know that I can be peculiar sometimes but I don't care. I'm a good worker, harmless, can deal with social events and is perfectly ok to have an exotic and creative personality like mine)
What you could do?
Do not let the bastards let you down
For pete's sake do NOT say anybody that you are trying to change and be a better person. First of all because this is a confession that something must be wrong with you, but mostly because you should not try to reach this. Is a wrong goal. Nobody wants a saint in the workplace unless the workplace is a church.
Instead consider to empower yourself playing the excentric card. Deploy slowly some socially inofensive moves and hold on them. Put a small plush burrito in your desk, because "some girl friend give it to you, and is cute". If your workplace allows it, wear a colorful shirt sometimes just because you feel better with it. If you personally like it, maybe a small discrete tatoo could work as: "I'm adult, is special to me and I do not need to ask my mom for this" (But remember that this is forever). People have flaws, so invent yours carefully.
In any case avoid to overwork it and look crazy (Do not put a piercing in the nose and appear with a shirt with a drawn of a blood splash. This is not funny nor interesting, is alarming). Just put one or two (not much more) funny anomalies in your personal image (that could let people to start a trivial conversation if they want) and them forget that they are there. Avoid the pathetic seeking aproval and chasing all people away with the "Why nobody have still noticed my new fabulous random stuff?").
Interviews:
Put the focus in how your skills are good for the work, no you are not negative just because you are honest and do not hide the problems, and not, you are not coocky just because you feel confident in your skills.
If a company can not still understand the simple fact that every people have different personalities and want you to reprogrammate, just run away from them. This is not a company, is a sect.
Just try to be a decent person. Do not harm others and help them if you can. Culture carefully some small harmless flaws just because people hates perfect guys and because you can and this makes you feel better and empowered, and do not trust what a silly interviewer said about who you are or how you are. He just don't know you at all.