Fix type cast from Plain to Acc
Whitespace fix
Remove unused function
Implement cycling semantics for reshape primitive