added submatrices to molecular/matrix and fixed/extended bulk upload functionality