Added magic __cal() method to use user defined functions.