Subspace Boltzmann Machines