Refactored PipeControlPoint
Clear the temp arrays