Update AoP.scala

Changed input to vector