Modeling and simulation of a fluttering bioinspired submersible