added simple DCT algorithm to ntprofile