Condensed matter theory by computer simulation: from materials to chemical biology