Switch to 3D

... because the PGM reader actually returns width x height x 1.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>