I'm currently "commuting" 15 min from school and I realized that those who live 1 min away from school study all the time together, and hang out together and do all sorts of things. I consider myself close to school too, but apparently, I miss a ton of stuff. We have people in our class that commute 45 min and they also have a hard time hanging around school since traffic determines their efforts in commuting during non-class hours and such. I wish I would've lived closer to school, but I am saving around +$500 in rent and living expenses living just 15 min away. I feel that the relationships you make depend on what kind of person you are and also the type of people you meet.
The idea that if you have a class of 40, some of you will hang out with each other more than others; it's just inevitable. It's sad that I don't get to hangout with some of my classmates as much as I want to, but we still make an effort here and there. I also just want to spend time by myself since I see my classmates all the time (especially during stressful times), but I love them all!
Don't worry about the commute. You'll develop the relationships in class, and more when you start having more PT courses along the year. Also, make the effort to go to group hangouts (happy hour, pool parties, night out) if you feel comfortable with your studies. I skipped out on some events, and went to others. Some of our class members never go, some always go. It just depends.
I'm a guy, so my class is 75% women most who have boyfriends or are married and it's harder to make a close relationship with them (especially since they all live around each other and have already made close relationships with themselves). We also have married guys who would rather spend time with their wives or are more closed off. So it IS hard. But you know. It is what it is. They're all awesome and I cherish the moments that I spend with each of them.