Made some changes based on Sunil's recomendations (not done yet). Also redid calculations for the new possible lengths. Min and Max scenerios.