added some documentation
remove the unused function alphaConversion