Added multiple marker recognition, along with adjusting diagram size.