Fixed the rejection notice in check.r
Added mass.r