Modified domain so that weigthing is calculated here, and in stratData
Helped resolve an issue with wrong weighting being displayed for strat function
Modified strat to take calculate.density parameter explicitly
calculate.density parameter previously invisible to user
Modified stratData to not calculate weighting. Weighting is instead calculated in domain