added ambient color support and removed constant color being added in intersection functions