The main reason you got killed on the glass is that you played 1-3-1 defense. It's advantage is it matches up great against an outside based offense (which you called correctly) but it does so by leaving you exposed on the glass.
I never play it, If I'm going to match up with an perimieter defense I'll always use 3-2 instead.