Learning with Joint Sparse Representation