Fix clang compile errors: explicit template instantiation needs namespace specifier.
Fix undefined behaviour: Variable Length Arrays cannot be of non-POD type (replaced by std::vector<REAL>).

This fix makes clang++ v3.4 successfully compile the complete iRRAM (though some warnings in src/ may need attention).