Reverted to small scale inputgen.

Few commits ago a large scale (128x128x128) inputgen was introduced
to make time testing more thorough. Now it's clear that this isn't
necessary, small scale (128x5x5) input is sufficient for debugging.
Large scale inputgens are going to be introduced in test branches.
Replaced 1-indexed array with 3-indexed in contiguous memory