First math tree implementation returning double ( No reflection)