made passiveCavity.m a function, allows an input of klist of target poles