added standalone matrices, fixed some spelling related bug, other minor fixes