fixed bug in gen_avco method return value
fixed bug in gen_avco method return value

corrected gen_avco method after testing proved value had to be coerced
to Rat then type checked against Price

atweiden/nightscape