Fix libraries
Fix libraries, add projection plot with residuals