Direct transformations yielding the knight's move pattern in $3 \times 3 \times 3$ arrays