better exceptions on vector get with incorrect dimensions