fixed bug in servos declaration, added auto-detection to the variables type when assigned to a function with a return value and when assigned to a certain element of an array