Performance improvements

    - Matrix: Use one continiouus block of memory for 2d array to
              to avoid a lot of mallocs
    - Gaussian/Matrix: Allow for passing of result matrix pointer
                       to avoid mallocs in foreach pixel loop
    - Frameextractor: Use std::yield instead of std::sleep