neuro2layers.py works, but not with 1d input layer