The star formation history of the Fornax dSph galaxy using the new synthetic color-magnitude diagram code IAC-STAR