simplified and fixes plos* fxns
removed ldfast fxn as isnt used anymore