A General Framework for Manifold Alignment