Removed gamma function altogether

Fixed the bitmap output and added a few