added some javadoc to basic_calc