Changed the parameters that the recurrent neural takes in the .new() constructor and setParameters() constructor.
Add createLayers() function to recurrent neural network so that different layer sizes can be used to suit your needs.
Made recurrent neural network calculations more efficient.