Bug found with function calculateOrderSbox. Fixing...