Improved analogPins array

Fixed issue with reading analog pin number higher than 9