Implemented tensor modifiers
Passed cpplint check