Fixed typos
Fix Bug 729: Use alloca if it is defined
Fix Bug 826: Allow initialization of 1x1 Arrays/Matrices by passing a value.
Additional unit tests for bug 826 by Gael
Workaround clang error introduced by 17d2d0880b1d:
"template argument for non-type template parameter is treated as function type 'bool (bool)'"