fixed bash arithemetic fpr CLOCKS_PER_SEC