Instead of checking for both 'str' and 'unicode,' just check if it's a 'basestring.'
Added function to get the matrix of the submatrix.
Add KivyDND source.