Working implementation of Patch Position layer.