Tekstiviesti: Exact analysis of bi-periodic structures