BETA v0.3: Restructured calculation methods to allow effectively infinate input lengths.