Update raspclass.php

Added the functions that were missing from initial commit.