Neural Networks for Scalar Input and Functional Output