Branes, fluxes and duality in M(atrix)-theory