Added a rescaling for pfd profile intensity data into the range [0,255] - can remove if required.