Modeling amyloid fibril formation