New margin command now 'marginnote' and kept old marginpar
Added psmallmatrix and bsmallmatrix environments
Footnotes inside bordered theorem environment may not work
added a warning about this