deep belief net outline
bugfixes, better code, errors raisedé
added reference matrices
added reference matrices
added matrix c convenience methods'