Representation of Real-Valued Functions by a Three-Layered Artificial Neural Network with Topologically Ordered Input and Output Units