Tekstiviesti: Binary population synthesis: Theory and applications