Added dim8_lin, brighten8_lin, and sqrt16