NNPDF2.1: Including heavy quark mass effects in NNPDF fits