Test script for lenslet array

Computes the intensity distribution in the image plane of a lenslet
array, used to simulate the Shack-Hartmann wavefront sensor. Script runs
stand-alone for testing purposes.