qtype_calculated: add answer variable expansion