Done factor product, working on factor marginalization. abondoned other sections to save time and progress in course faster