admaCardioidCoeffToPattern: add tests, fix bug in documentation
add admaCardioidCoeffToPattern

function to generate a beampattern for a given null angle. adjusts level
to keep front or back level equal to 1, depending on the dominant
direction