Changed clock replacement function (getCLockINdex) and pinPage to deal with fully pinned frameTable