Brane Cosmology with an $f$(R) contribution