fixed metab.optim
changed to addNAs

addNA was an existing base function; added year to ryanData;