If a witness is testifying as an expert, his testimony in the form of an opinion is limited to such an opinion as is:
(a) Related to a subject that is sufficiently beyond common experience that the opinion of an expert would assist the trier of fact; and
(b) Based on matter (including his special knowledge, skill, experience, training, and education) perceived by or personally known to the witness or made known to him at or before the hearing, whether or not admissible, that is of a type that reasonably may be relied upon by an expert in forming an opinion upon the subject to which his testimony relates, unless an expert is precluded by law from using such matter as a basis for his opinion.
(Enacted by Stats. 1965, Ch. 299.)