Matrix method for acoustic levitation simulation