Added and updated Jay's linear unmixing