Changed all Parameters involved in simulation calc to Double