Error-free Implementation of the Discrete Cosine Transform by Khan Wahid