Started work on GenerateBN. Has a fully functional alternative function.