fixed minor bugs in makeApertures calculations, addition of ray-traced beam and regridding functions