Working till question 4.3.3 albeit the first part for learning parameters has been discovered to be horribly ineffcieint and would have to be revamped. only the first part would have to be revamped