added documentation, got rid of cuPrintf