Added harmoic.calc from ../testprogs.