Brain now takes scalars instead arrays for its inputs and outputs.