Clean source code and unit tests with respect to -Wunused-local-typedefs
Add temporary check for triangularView += product