Over halfway through porting locfdr