fixed error: suggest braces around initialization of subbobject [-Werror,-Wmissing-braces]
rewritted matrix multiplication
Added Mac OS X support