Object-oriented MATLAB code for prototyping artificial neural networks.