Lisflood in matlab