The Effect Of Sequence And Environment On The Structure And Dimerization Of Amyloid Precursor Protein