Various bug fixes regarding representation networks and initialisation.