added arrobot_resetpos function, made fixes to squareExample and sdefs.m, and fixed proper linking on windows 32bit.