Data science

Replace this with `map`.  Anytime you have the structure
```
new_array = []
old_array.each do |element|
  # do stuff
  new_array.push(stuff)
end
new_array
```
it can probably be a map.