Updated the file hierarchy
Added statements awarenes in check_impl()
Removed Trans parameter for row_wise_reduction_template