Second R submission

Fixed R errors. Still not any better than best entry.