a good first working version of defineLaminarBoundaries