changed error checking in randompointinacircle class