Changed to use ArrayList when building array of analog sensors in the init process