function trm=accs(ffreqs,dirs,wns,z,depth,xpos,ypos)

trm=-(ffreqs.*ffreqs)*ones(size(dirs));