fixing some vector subscripting issues for the lower-sized matricies