Implemented percent function, bug fixing, digipal version improvements and merging