Added DCT type II (closes #19).
Basic tests for DCT.