fixing nn code to not require integral batch sizes