Added worked on all calculatins needed to generate a bincard