Factors that influence the self-assembly of amphipathic peptides