Fixed and enabled Intra NxN

NxN block needs reference border from previous NxN blocks and to do this, the structure was changed a bit.