Analysis of adaptive optical elements made from piezolectric bimorphs