updating java code and adding python code to do Black Scholes related calculations