added option to convert all NAs to zeros before doing lima