cleaned up some stupid bugs - multilayernet (non-modularized) test works again - fit function is probably still a mess, will check that next, after checking the sparse autoencoder