Get a value from the array at some position