added imageAge, corrected return value of scalar multiplication