grid multiplication by tom brough