Add BrushLibStatus, complete internal functions for matrix manipulation, complete missed includes in brushlib.h