Updated core.py a bit.

Changed apply_once_over_axes to apply_once.