Reorder variables for clarity
Round grays array to floor