Refactoring of strided_vals
Refactored buffer and thread_buffer, and more refactoring of strided_vals
Merge pull request #139 from izaid/fix

Refactor of buffer.hpp and strided_vals.hpp