fixed entropy calculator