added scaling for loop and code to account for input DNA mass