Modeling Rogue Waves With The Kadomtsev-Petviashvili Equation