Transpose added to solve dimension mismatch
Remove graph from function
Project_script